export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/shop/index',
    'pages/cart/index',
    'pages/mine/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#FFFFFF',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    selectedColor: "#d81e06",
    backgroundColor: "#FFFFFF",
    borderStyle: "white",
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "./public/home.png",
        selectedIconPath: "./public/home_highlight.png",
      },
      {
        pagePath: "pages/shop/index",
        text: "商城",
        iconPath: "./public/home.png",
        selectedIconPath: "./public/home_highlight.png",
      },
      {
        pagePath: "pages/cart/index",
        text: "购物车",
        iconPath: "./public/home.png",
        selectedIconPath: "./public/home_highlight.png",
      },
      {
        pagePath: "pages/mine/index",
        text: "我的",
        iconPath: "./public/user.png",
        selectedIconPath: "./public/user_highlight.png",
      },
    ],
  },
})
